import pytest
from utils.funcs import calculate_distance_points


@pytest.mark.parametrize(
    "min, max, lat1, lon1, lat2, lon2",
    [
        (150, 160, 43.312, 45.6889, 42.9764, 47.5024),
        (1550, 1600, 53.4186, 59.0472, 52.331, 35.3711)
    ]
)
def test_calculate_distance_points(
        min: int, max: int,
        lat1: float, lon1: float, lat2: float, lon2: float):
    assert min < calculate_distance_points(lat1, lon1, lat2, lon2) < max
